package com.atguigu.mock.entity;


import com.atguigu.common.base.entity.AutoIdBase;
import com.atguigu.common.comment.Comment;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Entity;
import java.time.LocalDateTime;

@Entity
@Getter
@Setter
@NoArgsConstructor
@Comment(value = "商业合伙人表")
public class BusinessPartner extends AutoIdBase {
    @Comment(value = "合伙人名称")
    private String name;

    public BusinessPartner(String name, LocalDateTime createTime) {
        super(createTime);
        this.name = name;
    }

}
